package com.test.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.test.entity.pojo.Resource;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ResourceMapper
 * @Discription TODO
 * @Author DaiFuqiang
 * @Date 2022/11/20 11:23
 */
@Mapper
public interface ResourceMapper extends BaseMapper<Resource> {

     List<Long> getIdsByUserId(@Param("userId") Long id);
}
